import { BasicColumn } from '@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    // {
    //   title: '序号',
    //   dataIndex: 'sort',
    //   fixed: 'left',
    //   width: 50,
    // },
    {
      title: '产品名称',
      dataIndex: 'productName',
      width: 272,
    },
    {
      title: '产品售价',
      dataIndex: 'minPrice',
      width: 150,
    },
    {
      title: '产品分类',
      dataIndex: 'productCategoryName',
      width: 100,
    },
    {
      title: '库存',
      dataIndex: 'totalStockNum',
      width: 100,
    },
    {
      title: '产品类型',
      dataIndex: 'productType',
      width: 100,
    },
    {
      title: '物流方式',
      dataIndex: 'logisticsMode',
      width: 100,
    },
    {
      title: '产品来源',
      dataIndex: 'shopName',
      width: 240,
    },
    {
      title: '发布者',
      dataIndex: 'userName',
      width: 214,
    },
    {
      title: '创建时间',
      dataIndex: 'createTime',
      width: 200,
    },
    {
      title: '审核状态',
      dataIndex: 'reviewStatusText',
      width: 100,
    },
    {
      title: '审核时间',
      dataIndex: 'reviewTime',
      width: 200,
    },
  ];
}
